@import '../../style/index';
@search-prefix-cls: ~"@{coms-prefix}-search";
@top-height: @coms-small-height * 2+10;
.@{search-prefix-cls} {
    position: relative;
    height: 100%;
    width: 100%;
    padding: 5px 0;
    &-mask {
        position: absolute;
        top: @top-height;
        height: 100%;
        width: 100%;
        bottom: 0px;
        right: 0px;
        left: 0px;
        background-color: #787878;
        opacity: 0.4;
        display: none;
        z-index: 10;
        &-show {
            display: block;
        }
    }
    &-advanced {
        position: absolute;
        top: @top-height;
        width: 100%;
        bottom: 0px;
        right: 0px;
        left: 0px;
        display: none;
        z-index: 11;
        &-show {
            display: block;
        }
    }
    &-top {
        position: absolute;
        top: 0px;
        width: 100%;
        height: @top-height;
        border-bottom: 1px solid #e5e5e5;
        line-height: @top-height;
        &-icon {
            position: absolute;
            width: 64px;
            img {
                vertical-align: middle;
                padding-left: 10px;
            }
        }
        &-wrap {
            position: absolute;
            padding-left: 64px;
            left: 0px;
            height: 100%;
            width: 100%;
        }
        &-title {
            float: left;
        }
        &-name {
            margin-top: 20px;
            line-height: 20px;
            height: 20px;
            font-weight: bolder;
        }
        &-desc {
            line-height: 20px;
            height: 20px;
        }
        &-group {
            .mode-tabs .mode-tabs-bar {
                border-bottom: 0px;
            }
        }
        &-buttons {
            float: right;
            &-wrap {
                display: inline-block;
                height: 65px;
                vertical-align: bottom;
                .mode-btn-group {
                    height: 65px;
                    .mode-btn {
                        padding: 0 15px !important;
                    }
                }
            }
        }
        .mode-input-affix-wrapper {
            width: 100px;
            margin-left: 5px;
            height: 65px;
            .mode-input {
                min-height: 0px;
            }
            .mode-input-suffix {
                top: 38px;
            }
        }
        .mode-btn,
        .mode-input {
            border-radius: 0px;
        }
    }
    &-td {
        vertical-align: middle;
        white-space: nowrap;
        text-overflow: ellipsis;
        word-break: keep-all;
        overflow: hidden;
    }
    &-cell {
        vertical-align: middle;
        white-space: nowrap;
        text-overflow: ellipsis;
        word-break: keep-all;
        overflow: hidden;
    }
    table {
        table-layout: fixed;
    }
    &-scroll-wrap {
        position: absolute;
        top: @top-height;
        width: 100%;
        bottom: 0px;
        .mode-table-thead>tr>th{
            background-color: #f8fcff;
            border-bottom: 1px solid #eaeaea;
            font-weight: 400;
        }
        .mode-table-thead > tr > th, .mode-table-tbody > tr > td{
            padding: 10px 8px;
        }
        .mode-table-pagination {
            float: left;
            margin: 16px 5px;
        }
    }
    &-condition-panel {
        background-color: #fff;
        &-scroll {
            height: 100%;
            overflow-x: hidden !important;
        }
        .mode-form-item {
            margin-bottom: 5px;
        }
        .wea-search-group .wea-form-cell {
            padding-top: 5px;
            min-height: 0px;
        }
        &-title {
            height: 37px;
            margin: 5px 24px 15px;
            font-size: 15px;
            padding: 0px 40px;
            border-bottom: 1px solid #e5e5e5;
            line-height: 37px;
        }
    }
}

.ant-select-dropdown,
.ant-select-selection {
    border-radius: 0px;
}